package com.dc.mapper;

import com.dc.pojo.SysMenu;
import com.dc.pojo.SysRole;
import com.dc.pojo.SysRolePermission;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SysRoleDao {
    public List<SysRole> selectRoleAll(@Param("likeName") String likeName);

    public SysRole selectByNameRole(@Param("name")String name);

    int insertRolePermission(SysRolePermission sysRolePermission);

    public int insertRole(SysRole sysRole);
    public List<SysMenu> selectMenuAll();
}
